package com.cskaoyan.user.service;

import com.cskaoyan.user.dto.UserLoginRequest;
import com.cskaoyan.user.dto.UserLoginResponse;
import com.cskaoyan.user.dto.UserVerifyResponse;

public interface ILoginService {
    UserLoginResponse login(UserLoginRequest userLoginRequest);

    // 在用户验证表中根据username查询对应的uuid
    String verify(String verifyUsername);

    // 修改用户验证表的verify, 修改用户表的verify 为已验证
    UserVerifyResponse verified(String verifyUsername);

    // 在用户表中根据uid查询对应的username
    String loginVerify(String uid);
}
